import { DataProxy } from "../../frame/A-LIB/lib.b.data";

class Trigger {
	/** 初始化UI */
	UIInit: boolean;
	/** home UI事件 */
	UIHome: boolean;
	/** 过渡页 UI事件 */
	UITrans: boolean;
	/** 游戏 UI事件 */
	UIGame: boolean;
	UILuckyBox: boolean;
	/** 加载游戏事件 */
	LoadRound: number;
	/** 游戏结束 */
	GameOver: boolean;

	//HintLock: boolean;

	/** 预加载砖块 */
	PreLoadTiles: boolean;
	/** 预加载砖块进度 */
	PreLoadTilesProgress: string;

	STASH: boolean;
	REVOKE: boolean;
	SHUFFLE: boolean;
}

export default function get_proxy_trigger(name?: string, prefix?: string){
	return DataProxy.initProxy(name??'trigger', new Trigger(), false, null, prefix??'');
}